package com.happystudy.mapper;

import com.happpystudy.model.course.CourseKey;
import com.happpystudy.model.course.CourseTeacher;
import com.happpystudy.model.course.CourseTeacherKey;

import java.util.List;

public interface CourseTeacherMapper {
    int deleteByPrimaryKey(CourseTeacherKey key);

    int insert(CourseTeacher record);

    int insertSelective(CourseTeacher record);

    CourseTeacher selectByPrimaryKey(CourseTeacherKey key);

    int updateByPrimaryKeySelective(CourseTeacher record);

    int updateByPrimaryKey(CourseTeacher record);

    List<CourseTeacher> selectCourseTeachersByUserId(Integer userId);

    List<CourseTeacher> selectByCourseKey(CourseKey courseKey);
}